/**
 * 
 */
package org.xlab.baseframework.exception;

import org.xlab.baseframework.domain.SystemWebServiceSession;

/**
 * 只有不活动的会话被找到
 * 
 * @author makubex
 *
 */
public class InactiveWebServiceSessionFoundexception extends SystemException {

	/**
	 * @serialField
	 */
	private static final long serialVersionUID = 7025938343836732110L;

	private SystemWebServiceSession session;

	/**
	 * @param message
	 */
	public InactiveWebServiceSessionFoundexception(String message,SystemWebServiceSession session) {
		super(message);
		this.session = session;
	}

	/**
	 * @param message
	 * @param cause
	 */
	public InactiveWebServiceSessionFoundexception(String message,
			Throwable cause,SystemWebServiceSession session) {
		super(message, cause);
		this.session = session;
	}

	/**
	 * 
	 */
	public InactiveWebServiceSessionFoundexception(SystemWebServiceSession session) {
		super();
		this.session = session;
	}

	/**
	 * @param cause
	 */
	public InactiveWebServiceSessionFoundexception(Throwable cause,SystemWebServiceSession session) {
		super(cause);
		this.session = session;
	}

	/**
	 * @return the session
	 */
	public SystemWebServiceSession getSession() {
		return session;
	}
	
}
